package com.itheima.service;

import com.itheima.domain.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll(String pageNum,String pageSize);

    void save(Permission permission);

    boolean deleteByIds(String ids) throws Exception;

    boolean deleteById(String id) throws Exception;

    List<Permission> query(String name, String pageNum, String pageSize);

}
